// index.js

Page({
  data: {
    
  },
  change(e){
    console.log("ues")
    wx.request({
      url: 'http://ip:5000/change',
      method: 'GET',
      success: function(){
        wx.showModal({
          title: '提示',
          content: '状态已改变',
        })
      }
    })
  }
})
